package com.bulletelc.apollopre.eventbus;

/**
 * author: lhl
 * date  : 2018/01/24
 * desc  : 微信支付完成事件
 */

public class EventBusEvent {
    /**
     * 微信支付
     * 0 :支付成功
     * 1 :失败
     * 2 :用户取消
     */
    private int wxPayErrCode=-99;
    /**
     * fragment的位置
     * 0: FomeFragment
     * 1: ClassifyFragment
     *  ...
     */
    private int fragmentPosition=-99;

    public EventBusEvent() {

    }

    public int getWxPayErrCode() {
        return wxPayErrCode;
    }

    public void setWxPayErrCode(int wxPayErrCode) {
        this.wxPayErrCode = wxPayErrCode;
    }

    public int getFragmentPosition() {
        return fragmentPosition;
    }

    public void setFragmentPosition(int fragmentPosition) {
        this.fragmentPosition = fragmentPosition;
    }

    @Override
    public String toString() {
        return "EventBusEvent{" +
                "wxPayErrCode=" + wxPayErrCode +
                ", fragmentPosition=" + fragmentPosition +
                '}';
    }
}
